<?php 
if(!empty($inc_producttype)){
	foreach($inc_producttype as $v){
		echo "<div class='producttype_side'>";
		echo anchor('product/lists/'. $v->id, $v->title);
		echo "</div>";
	}
}
?>
<ul id="pttree" class="ztree"></ul>
<script type="text/javascript" src="/resources/scripts/ztree/js/jquery.ztree.core-3.1.js"></script>
<link href="/resources/scripts/ztree/css/zTreeStyle/zTreeStyle.css?20120501" rel="stylesheet" type="text/css" />
<script type="text/javascript">

//
</script>
<script type="text/javascript">
$(document).ready(function(){	
	//暂不用树
	//$.fn.zTree.init($("#pttree"), setting, producttype);
});
</script>